package cn.lj.org.service.impl;

import cn.lj.base.service.impl.BaseServiceImpl;
import cn.lj.base.util.PageList;
import cn.lj.org.domain.Employee;
import cn.lj.org.mapper.EmployeeMapper;
import cn.lj.org.query.EmployeeQuery;
import cn.lj.org.service.IEmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service/*交给spring管理*/
@Transactional(readOnly = true,propagation = Propagation.SUPPORTS)/*添加事务*/
public class EmployeeServiceImpl extends BaseServiceImpl<Employee> implements IEmployeeService {
    /*注入mapper*/
    @Autowired
    private EmployeeMapper employeeMapper;

}
